package CommonLibrary.Commnads;

import CommonLibrary.Point;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "EnemyMoveResponse")
public class EnemyMoveResponse extends Command{

    @XmlElement(required = true)
    private ArrayList<Point> step;
    
    public ArrayList<Point> getStep()
    {
        return this.step;
    }

    public void setStep(ArrayList<Point> step)
    {
        this.step = step;
    }

    public EnemyMoveResponse()
    {
        this.id = 15;
    }
}